﻿using System;
using System.ComponentModel;
using System.Numerics;
using TaleWorlds.Core;
using TaleWorlds.GauntletUI;
using TaleWorlds.GauntletUI.BaseTypes;
using TaleWorlds.GauntletUI.Data;
using TaleWorlds.GauntletUI.ExtraWidgets;
using TaleWorlds.Library;
using TaleWorlds.MountAndBlade.GauntletUI.Widgets;
using TaleWorlds.MountAndBlade.GauntletUI.Widgets.Mission;
using TaleWorlds.MountAndBlade.GauntletUI.Widgets.Order;
using TaleWorlds.MountAndBlade.ViewModelCollection.Input;
using TaleWorlds.MountAndBlade.ViewModelCollection.Order;

namespace TaleWorlds.MountAndBlade.GauntletUI.AutoGenerated0
{
	// Token: 0x0200002A RID: 42
	public class OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_5_OrderTroopItem__InheritedPrefab : OrderTroopItemBrushWidget
	{
		// Token: 0x06000882 RID: 2178 RVA: 0x0003C7FF File Offset: 0x0003A9FF
		public OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_5_OrderTroopItem__InheritedPrefab(UIContext context) : base(context)
		{
		}

		// Token: 0x06000883 RID: 2179 RVA: 0x0003C808 File Offset: 0x0003AA08
		public virtual void CreateWidgets()
		{
			this._widget = this;
			this._widget_0 = new GridWidget(base.Context);
			this._widget.AddChild(this._widget_0);
			this._widget_1 = new FillBar(base.Context);
			this._widget.AddChild(this._widget_1);
			this._widget_2 = new ListPanel(base.Context);
			this._widget.AddChild(this._widget_2);
			this._widget_2_0 = new Widget(base.Context);
			this._widget_2.AddChild(this._widget_2_0);
			this._widget_2_1 = new TextWidget(base.Context);
			this._widget_2.AddChild(this._widget_2_1);
			this._widget_3 = new Widget(base.Context);
			this._widget.AddChild(this._widget_3);
			this._widget_3_0 = new Widget(base.Context);
			this._widget_3.AddChild(this._widget_3_0);
			this._widget_3_0_0 = new InputKeyVisualWidget(base.Context);
			this._widget_3_0.AddChild(this._widget_3_0_0);
			this._widget_4 = new SliderWidget(base.Context);
			this._widget.AddChild(this._widget_4);
			this._widget_4_0 = new Widget(base.Context);
			this._widget_4.AddChild(this._widget_4_0);
			this._widget_4_1 = new Widget(base.Context);
			this._widget_4.AddChild(this._widget_4_1);
			this._widget_5 = new Widget(base.Context);
			this._widget.AddChild(this._widget_5);
			this._widget_6 = new ImageIdentifierWidget(base.Context);
			this._widget.AddChild(this._widget_6);
			this._widget_7 = new GridWidget(base.Context);
			this._widget.AddChild(this._widget_7);
			this._widget_8 = new Widget(base.Context);
			this._widget.AddChild(this._widget_8);
			this._widget_8_0 = new ListPanel(base.Context);
			this._widget_8.AddChild(this._widget_8_0);
			this._widget_8_0_0 = new OrderItemButtonWidget(base.Context);
			this._widget_8_0.AddChild(this._widget_8_0_0);
			this._widget_8_0_0_0 = new Widget(base.Context);
			this._widget_8_0_0.AddChild(this._widget_8_0_0_0);
			this._widget_8_0_1 = new FormationMarkerParentWidget(base.Context);
			this._widget_8_0.AddChild(this._widget_8_0_1);
			this._widget_8_0_1_0 = new BrushWidget(base.Context);
			this._widget_8_0_1.AddChild(this._widget_8_0_1_0);
			this._widget_8_0_1_0_0 = new Widget(base.Context);
			this._widget_8_0_1_0.AddChild(this._widget_8_0_1_0_0);
		}

		// Token: 0x06000884 RID: 2180 RVA: 0x0003CAE8 File Offset: 0x0003ACE8
		public virtual void SetIds()
		{
			this._widget_0.Id = "PrimaryColorGrid";
			this._widget_4_0.Id = "Filler";
			this._widget_4_1.Id = "SliderHandle";
			this._widget_5.Id = "SelectionFrame";
			this._widget_8_0_0_0.Id = "Icon";
			this._widget_8_0_1_0.Id = "TeamTypeWidget";
			this._widget_8_0_1_0_0.Id = "FormationTypeMarker";
		}

		// Token: 0x06000885 RID: 2181 RVA: 0x0003CB68 File Offset: 0x0003AD68
		public virtual void SetAttributes()
		{
			base.WidthSizePolicy = 0;
			base.HeightSizePolicy = 0;
			base.SuggestedWidth = 116.8f;
			base.SuggestedHeight = 198.4f;
			base.RangedCardBrush = base.Context.GetBrush("Order.Card.Background.Ranged");
			base.MeleeCardBrush = base.Context.GetBrush("Order.Card.Background.Melee");
			base.Brush = base.Context.GetBrush("Order.Card.Background");
			base.MarginTop = 25f;
			base.SelectionFrameWidget = this._widget_5;
			this._widget_0.WidthSizePolicy = 2;
			this._widget_0.HeightSizePolicy = 2;
			this._widget_0.HorizontalAlignment = 1;
			this._widget_0.VerticalAlignment = 1;
			this._widget_0.ColumnCount = 2;
			this._widget_0.DefaultCellHeight = 56f;
			this._widget_0.DefaultCellWidth = 46f;
			this._widget_1.WidthSizePolicy = 1;
			this._widget_1.HeightSizePolicy = 0;
			this._widget_1.SuggestedHeight = 13f;
			this._widget_1.VerticalAlignment = 2;
			this._widget_1.MarginLeft = 16f;
			this._widget_1.MarginRight = 16f;
			this._widget_1.MarginBottom = 18f;
			this._widget_1.MaxAmount = 100;
			this._widget_1.Brush = base.Context.GetBrush("Order.Troop.MoraleFillBar");
			this._widget_1.IsVisible = false;
			this._widget_2.WidthSizePolicy = 2;
			this._widget_2.HeightSizePolicy = 2;
			this._widget_2.MarginLeft = 15f;
			this._widget_2.MarginTop = 10f;
			this._widget_2.StackLayout.LayoutMethod = 0;
			this._widget_2_0.WidthSizePolicy = 0;
			this._widget_2_0.HeightSizePolicy = 0;
			this._widget_2_0.SuggestedWidth = 30f;
			this._widget_2_0.SuggestedHeight = 30f;
			this._widget_2_0.VerticalAlignment = 1;
			this._widget_2_0.Sprite = base.Context.SpriteData.GetSprite("General\\Icons\\Morale@2x");
			this._widget_2_1.WidthSizePolicy = 2;
			this._widget_2_1.HeightSizePolicy = 2;
			this._widget_2_1.MarginLeft = 1f;
			this._widget_2_1.MarginTop = 8f;
			this._widget_2_1.VerticalAlignment = 1;
			this._widget_2_1.Brush = base.Context.GetBrush("Order.Troop.CountText");
			this._widget_2_1.Brush.FontSize = 20;
			this._widget_3.WidthSizePolicy = 2;
			this._widget_3.HeightSizePolicy = 2;
			this._widget_3.HorizontalAlignment = 2;
			this._widget_3.MarginTop = 5f;
			this._widget_3.PositionXOffset = 15f;
			this._widget_3_0.WidthSizePolicy = 2;
			this._widget_3_0.HeightSizePolicy = 2;
			this._widget_3_0_0.WidthSizePolicy = 0;
			this._widget_3_0_0.HeightSizePolicy = 0;
			this._widget_3_0_0.SuggestedWidth = 60f;
			this._widget_3_0_0.SuggestedHeight = 60f;
			this._widget_4.WidthSizePolicy = 0;
			this._widget_4.HeightSizePolicy = 0;
			this._widget_4.SuggestedHeight = 3f;
			this._widget_4.SuggestedWidth = 65f;
			this._widget_4.HorizontalAlignment = 1;
			this._widget_4.VerticalAlignment = 2;
			this._widget_4.MarginBottom = 13f;
			this._widget_4.MarginLeft = 3f;
			this._widget_4.DoNotUpdateHandleSize = true;
			this._widget_4.Filler = this._widget_4_0;
			this._widget_4.Handle = this._widget_4_1;
			this._widget_4.MaxValueFloat = 1f;
			this._widget_4.MinValueFloat = 0f;
			this._widget_4.AlignmentAxis = 0;
			this._widget_4_0.DoNotAcceptEvents = true;
			this._widget_4_0.WidthSizePolicy = 0;
			this._widget_4_0.HeightSizePolicy = 0;
			this._widget_4_0.SuggestedHeight = 3f;
			this._widget_4_0.SuggestedWidth = 100f;
			this._widget_4_0.VerticalAlignment = 2;
			this._widget_4_0.Sprite = base.Context.SpriteData.GetSprite("BlankWhiteSquare_9");
			this._widget_4_1.WidthSizePolicy = 0;
			this._widget_4_1.HeightSizePolicy = 0;
			this._widget_4_1.SuggestedWidth = 2f;
			this._widget_4_1.SuggestedHeight = 2f;
			this._widget_4_1.HorizontalAlignment = 0;
			this._widget_4_1.VerticalAlignment = 1;
			this._widget_4_1.IsVisible = false;
			this._widget_5.WidthSizePolicy = 1;
			this._widget_5.HeightSizePolicy = 1;
			this._widget_5.Sprite = base.Context.SpriteData.GetSprite("order_formation_selector_9");
			this._widget_5.Color = new Color(0f, 1f, 0f, 1f);
			this._widget_5.IsVisible = false;
			this._widget_6.DoNotAcceptEvents = true;
			this._widget_6.WidthSizePolicy = 0;
			this._widget_6.HeightSizePolicy = 0;
			this._widget_6.SuggestedWidth = 31f;
			this._widget_6.SuggestedHeight = 22f;
			this._widget_6.HorizontalAlignment = 1;
			this._widget_6.VerticalAlignment = 0;
			this._widget_6.PositionYOffset = -20f;
			this._widget_7.WidthSizePolicy = 2;
			this._widget_7.HeightSizePolicy = 2;
			this._widget_7.HorizontalAlignment = 0;
			this._widget_7.VerticalAlignment = 2;
			this._widget_7.MarginBottom = 37f;
			this._widget_7.MarginLeft = 17f;
			this._widget_7.ColumnCount = 2;
			this._widget_7.DefaultCellHeight = 20f;
			this._widget_7.DefaultCellWidth = 20f;
			this._widget_8.WidthSizePolicy = 2;
			this._widget_8.HeightSizePolicy = 2;
			this._widget_8.HorizontalAlignment = 1;
			this._widget_8.VerticalAlignment = 2;
			this._widget_8_0.WidthSizePolicy = 2;
			this._widget_8_0.HeightSizePolicy = 0;
			this._widget_8_0.SuggestedHeight = 50f;
			this._widget_8_0.PositionYOffset = 30f;
			this._widget_8_0.StackLayout.LayoutMethod = 0;
			this._widget_8_0_0.WidthSizePolicy = 0;
			this._widget_8_0_0.HeightSizePolicy = 0;
			this._widget_8_0_0.SuggestedWidth = 30f;
			this._widget_8_0_0.SuggestedHeight = 30f;
			this._widget_8_0_0.VerticalAlignment = 1;
			this._widget_8_0_0.IconWidget = this._widget_8_0_0_0;
			this._widget_8_0_0.UpdateChildrenStates = true;
			this._widget_8_0_0.SelectionVisualWidget = (this._widget_8_0_0.FindChild("SelectionVisualWidget") as ImageWidget);
			this._widget_8_0_0.IsEnabled = false;
			this._widget_8_0_0_0.WidthSizePolicy = 1;
			this._widget_8_0_0_0.HeightSizePolicy = 1;
			this._widget_8_0_1.WidthSizePolicy = 2;
			this._widget_8_0_1.HeightSizePolicy = 2;
			this._widget_8_0_1.VerticalAlignment = 1;
			this._widget_8_0_1.FormationTypeMarker = this._widget_8_0_1_0_0;
			this._widget_8_0_1.TeamType = 2;
			this._widget_8_0_1.TeamTypeMarker = this._widget_8_0_1_0;
			this._widget_8_0_1_0.WidthSizePolicy = 0;
			this._widget_8_0_1_0.HeightSizePolicy = 0;
			this._widget_8_0_1_0.SuggestedHeight = 30f;
			this._widget_8_0_1_0.SuggestedWidth = 30f;
			this._widget_8_0_1_0.Brush = base.Context.GetBrush("FormationMarker.TeamType");
			this._widget_8_0_1_0_0.WidthSizePolicy = 1;
			this._widget_8_0_1_0_0.HeightSizePolicy = 1;
			this._widget_8_0_1_0_0.HorizontalAlignment = 1;
		}

		// Token: 0x06000886 RID: 2182 RVA: 0x0003D368 File Offset: 0x0003B568
		public virtual void DestroyDataSource()
		{
			if (this._datasource_Root != null)
			{
				this._datasource_Root.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root;
				this._datasource_Root.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root);
				this._widget.PropertyChanged -= this.PropertyChangedListenerOf_widget;
				this._widget.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget;
				this._widget.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget;
				this._widget.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget;
				this._widget.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget;
				this._widget.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget;
				this._widget.intPropertyChanged -= this.intPropertyChangedListenerOf_widget;
				this._widget.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget;
				this._widget.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget;
				this._widget_1.PropertyChanged -= this.PropertyChangedListenerOf_widget_1;
				this._widget_1.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_1;
				this._widget_1.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_1;
				this._widget_1.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_1;
				this._widget_1.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_1;
				this._widget_1.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_1;
				this._widget_1.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_1;
				this._widget_1.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_1;
				this._widget_1.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_1;
				this._widget_2_1.PropertyChanged -= this.PropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_2_1;
				this._widget_3.PropertyChanged -= this.PropertyChangedListenerOf_widget_3;
				this._widget_3.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_3;
				this._widget_3.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_3;
				this._widget_3.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_3;
				this._widget_3.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_3;
				this._widget_3.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_3;
				this._widget_3.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_3;
				this._widget_3.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_3;
				this._widget_3.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_3;
				this._widget_3_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_3_0;
				this._widget_4.PropertyChanged -= this.PropertyChangedListenerOf_widget_4;
				this._widget_4.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_4;
				this._widget_4.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_4;
				this._widget_4.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_4;
				this._widget_4.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_4;
				this._widget_4.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_4;
				this._widget_4.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_4;
				this._widget_4.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_4;
				this._widget_4.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_4;
				this._widget_8.PropertyChanged -= this.PropertyChangedListenerOf_widget_8;
				this._widget_8.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_8;
				this._widget_8.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_8;
				this._widget_8.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_8;
				this._widget_8.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_8;
				this._widget_8.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_8;
				this._widget_8.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_8;
				this._widget_8.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_8;
				this._widget_8.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_8;
				this._widget_8_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_1.PropertyChanged -= this.PropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_8_0_1;
				if (this._datasource_Root_ActiveFormationClasses != null)
				{
					this._datasource_Root_ActiveFormationClasses.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFormationClassesChanged);
					for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
					{
						Widget child = this._widget_0.GetChild(i);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate)child).OnBeforeRemovedChild(child);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate)this._widget_0.GetChild(i)).DestroyDataSource();
					}
					this._datasource_Root_ActiveFormationClasses = null;
				}
				if (this._datasource_Root_SelectionKey != null)
				{
					this._datasource_Root_SelectionKey.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey;
					this._datasource_Root_SelectionKey.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey);
					this._widget_3_0_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_3_0_0;
					this._datasource_Root_SelectionKey = null;
				}
				if (this._datasource_Root_CommanderImageIdentifier != null)
				{
					this._datasource_Root_CommanderImageIdentifier.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier;
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._widget_6.PropertyChanged -= this.PropertyChangedListenerOf_widget_6;
					this._widget_6.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_6;
					this._widget_6.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_6;
					this._widget_6.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_6;
					this._widget_6.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_6;
					this._widget_6.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_6;
					this._widget_6.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_6;
					this._widget_6.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_6;
					this._widget_6.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_6;
					this._datasource_Root_CommanderImageIdentifier = null;
				}
				if (this._datasource_Root_ActiveFilters != null)
				{
					this._datasource_Root_ActiveFilters.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFiltersChanged);
					for (int j = this._widget_7.ChildCount - 1; j >= 0; j--)
					{
						Widget child2 = this._widget_7.GetChild(j);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate)child2).OnBeforeRemovedChild(child2);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate)this._widget_7.GetChild(j)).DestroyDataSource();
					}
					this._datasource_Root_ActiveFilters = null;
				}
				this._datasource_Root = null;
			}
		}

		// Token: 0x06000887 RID: 2183 RVA: 0x0003E0A6 File Offset: 0x0003C2A6
		public virtual void SetDataSource(OrderTroopItemVM dataSource)
		{
			this.RefreshDataSource_datasource_Root(dataSource);
		}

		// Token: 0x06000888 RID: 2184 RVA: 0x0003E0AF File Offset: 0x0003C2AF
		private void PropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000889 RID: 2185 RVA: 0x0003E0B8 File Offset: 0x0003C2B8
		private void boolPropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x0600088A RID: 2186 RVA: 0x0003E0C1 File Offset: 0x0003C2C1
		private void floatPropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x0600088B RID: 2187 RVA: 0x0003E0CA File Offset: 0x0003C2CA
		private void Vec2PropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x0600088C RID: 2188 RVA: 0x0003E0D3 File Offset: 0x0003C2D3
		private void Vector2PropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x0600088D RID: 2189 RVA: 0x0003E0DC File Offset: 0x0003C2DC
		private void doublePropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x0600088E RID: 2190 RVA: 0x0003E0E5 File Offset: 0x0003C2E5
		private void intPropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x0600088F RID: 2191 RVA: 0x0003E0EE File Offset: 0x0003C2EE
		private void uintPropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000890 RID: 2192 RVA: 0x0003E0F7 File Offset: 0x0003C2F7
		private void ColorPropertyChangedListenerOf_widget(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget(propertyName);
		}

		// Token: 0x06000891 RID: 2193 RVA: 0x0003E100 File Offset: 0x0003C300
		private void HandleWidgetPropertyChangeOf_widget(string propertyName)
		{
			if (propertyName == "HasAmmo")
			{
				this._datasource_Root.IsAmmoAvailable = this._widget.HasAmmo;
				return;
			}
			if (propertyName == "CurrentMemberCount")
			{
				this._datasource_Root.CurrentMemberCount = this._widget.CurrentMemberCount;
				return;
			}
			if (propertyName == "IsSelectable")
			{
				this._datasource_Root.IsSelectable = this._widget.IsSelectable;
				return;
			}
			if (propertyName == "IsSelected")
			{
				this._datasource_Root.IsSelected = this._widget.IsSelected;
				return;
			}
			if (propertyName == "FormationClass")
			{
				return;
			}
			if (propertyName == "IsSelectionActive")
			{
				this._datasource_Root.IsSelectionActive = this._widget.IsSelectionActive;
				return;
			}
		}

		// Token: 0x06000892 RID: 2194 RVA: 0x0003E1CF File Offset: 0x0003C3CF
		private void PropertyChangedListenerOf_widget_1(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1(propertyName);
		}

		// Token: 0x06000893 RID: 2195 RVA: 0x0003E1D8 File Offset: 0x0003C3D8
		private void boolPropertyChangedListenerOf_widget_1(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1(propertyName);
		}

		// Token: 0x06000894 RID: 2196 RVA: 0x0003E1E1 File Offset: 0x0003C3E1
		private void floatPropertyChangedListenerOf_widget_1(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1(propertyName);
		}

		// Token: 0x06000895 RID: 2197 RVA: 0x0003E1EA File Offset: 0x0003C3EA
		private void Vec2PropertyChangedListenerOf_widget_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1(propertyName);
		}

		// Token: 0x06000896 RID: 2198 RVA: 0x0003E1F3 File Offset: 0x0003C3F3
		private void Vector2PropertyChangedListenerOf_widget_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1(propertyName);
		}

		// Token: 0x06000897 RID: 2199 RVA: 0x0003E1FC File Offset: 0x0003C3FC
		private void doublePropertyChangedListenerOf_widget_1(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1(propertyName);
		}

		// Token: 0x06000898 RID: 2200 RVA: 0x0003E205 File Offset: 0x0003C405
		private void intPropertyChangedListenerOf_widget_1(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1(propertyName);
		}

		// Token: 0x06000899 RID: 2201 RVA: 0x0003E20E File Offset: 0x0003C40E
		private void uintPropertyChangedListenerOf_widget_1(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1(propertyName);
		}

		// Token: 0x0600089A RID: 2202 RVA: 0x0003E217 File Offset: 0x0003C417
		private void ColorPropertyChangedListenerOf_widget_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_1(propertyName);
		}

		// Token: 0x0600089B RID: 2203 RVA: 0x0003E220 File Offset: 0x0003C420
		private void HandleWidgetPropertyChangeOf_widget_1(string propertyName)
		{
			if (propertyName == "CurrentAmount")
			{
				this._datasource_Root.Morale = this._widget_1.CurrentAmount;
				return;
			}
			if (propertyName == "InitialAmount")
			{
				this._datasource_Root.Morale = this._widget_1.InitialAmount;
				return;
			}
		}

		// Token: 0x0600089C RID: 2204 RVA: 0x0003E275 File Offset: 0x0003C475
		private void PropertyChangedListenerOf_widget_2_1(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_1(propertyName);
		}

		// Token: 0x0600089D RID: 2205 RVA: 0x0003E27E File Offset: 0x0003C47E
		private void boolPropertyChangedListenerOf_widget_2_1(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_1(propertyName);
		}

		// Token: 0x0600089E RID: 2206 RVA: 0x0003E287 File Offset: 0x0003C487
		private void floatPropertyChangedListenerOf_widget_2_1(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_1(propertyName);
		}

		// Token: 0x0600089F RID: 2207 RVA: 0x0003E290 File Offset: 0x0003C490
		private void Vec2PropertyChangedListenerOf_widget_2_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_1(propertyName);
		}

		// Token: 0x060008A0 RID: 2208 RVA: 0x0003E299 File Offset: 0x0003C499
		private void Vector2PropertyChangedListenerOf_widget_2_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_1(propertyName);
		}

		// Token: 0x060008A1 RID: 2209 RVA: 0x0003E2A2 File Offset: 0x0003C4A2
		private void doublePropertyChangedListenerOf_widget_2_1(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_1(propertyName);
		}

		// Token: 0x060008A2 RID: 2210 RVA: 0x0003E2AB File Offset: 0x0003C4AB
		private void intPropertyChangedListenerOf_widget_2_1(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_1(propertyName);
		}

		// Token: 0x060008A3 RID: 2211 RVA: 0x0003E2B4 File Offset: 0x0003C4B4
		private void uintPropertyChangedListenerOf_widget_2_1(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_1(propertyName);
		}

		// Token: 0x060008A4 RID: 2212 RVA: 0x0003E2BD File Offset: 0x0003C4BD
		private void ColorPropertyChangedListenerOf_widget_2_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_2_1(propertyName);
		}

		// Token: 0x060008A5 RID: 2213 RVA: 0x0003E2C8 File Offset: 0x0003C4C8
		private void HandleWidgetPropertyChangeOf_widget_2_1(string propertyName)
		{
			if (propertyName == "IntText")
			{
				this._datasource_Root.Morale = this._widget_2_1.IntText;
				return;
			}
			if (propertyName == "IsVisible")
			{
				this._datasource_Root.HaveTroops = this._widget_2_1.IsVisible;
				return;
			}
		}

		// Token: 0x060008A6 RID: 2214 RVA: 0x0003E31D File Offset: 0x0003C51D
		private void PropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x060008A7 RID: 2215 RVA: 0x0003E326 File Offset: 0x0003C526
		private void boolPropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x060008A8 RID: 2216 RVA: 0x0003E32F File Offset: 0x0003C52F
		private void floatPropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x060008A9 RID: 2217 RVA: 0x0003E338 File Offset: 0x0003C538
		private void Vec2PropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x060008AA RID: 2218 RVA: 0x0003E341 File Offset: 0x0003C541
		private void Vector2PropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x060008AB RID: 2219 RVA: 0x0003E34A File Offset: 0x0003C54A
		private void doublePropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x060008AC RID: 2220 RVA: 0x0003E353 File Offset: 0x0003C553
		private void intPropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x060008AD RID: 2221 RVA: 0x0003E35C File Offset: 0x0003C55C
		private void uintPropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x060008AE RID: 2222 RVA: 0x0003E365 File Offset: 0x0003C565
		private void ColorPropertyChangedListenerOf_widget_3(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3(propertyName);
		}

		// Token: 0x060008AF RID: 2223 RVA: 0x0003E36E File Offset: 0x0003C56E
		private void HandleWidgetPropertyChangeOf_widget_3(string propertyName)
		{
			propertyName == "IsVisible";
		}

		// Token: 0x060008B0 RID: 2224 RVA: 0x0003E37C File Offset: 0x0003C57C
		private void PropertyChangedListenerOf_widget_3_0(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0(propertyName);
		}

		// Token: 0x060008B1 RID: 2225 RVA: 0x0003E385 File Offset: 0x0003C585
		private void boolPropertyChangedListenerOf_widget_3_0(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0(propertyName);
		}

		// Token: 0x060008B2 RID: 2226 RVA: 0x0003E38E File Offset: 0x0003C58E
		private void floatPropertyChangedListenerOf_widget_3_0(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0(propertyName);
		}

		// Token: 0x060008B3 RID: 2227 RVA: 0x0003E397 File Offset: 0x0003C597
		private void Vec2PropertyChangedListenerOf_widget_3_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0(propertyName);
		}

		// Token: 0x060008B4 RID: 2228 RVA: 0x0003E3A0 File Offset: 0x0003C5A0
		private void Vector2PropertyChangedListenerOf_widget_3_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0(propertyName);
		}

		// Token: 0x060008B5 RID: 2229 RVA: 0x0003E3A9 File Offset: 0x0003C5A9
		private void doublePropertyChangedListenerOf_widget_3_0(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0(propertyName);
		}

		// Token: 0x060008B6 RID: 2230 RVA: 0x0003E3B2 File Offset: 0x0003C5B2
		private void intPropertyChangedListenerOf_widget_3_0(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0(propertyName);
		}

		// Token: 0x060008B7 RID: 2231 RVA: 0x0003E3BB File Offset: 0x0003C5BB
		private void uintPropertyChangedListenerOf_widget_3_0(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0(propertyName);
		}

		// Token: 0x060008B8 RID: 2232 RVA: 0x0003E3C4 File Offset: 0x0003C5C4
		private void ColorPropertyChangedListenerOf_widget_3_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0(propertyName);
		}

		// Token: 0x060008B9 RID: 2233 RVA: 0x0003E3CD File Offset: 0x0003C5CD
		private void HandleWidgetPropertyChangeOf_widget_3_0(string propertyName)
		{
			if (propertyName == "IsVisible")
			{
				this._datasource_Root.HaveTroops = this._widget_3_0.IsVisible;
				return;
			}
		}

		// Token: 0x060008BA RID: 2234 RVA: 0x0003E3F3 File Offset: 0x0003C5F3
		private void PropertyChangedListenerOf_widget_4(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_4(propertyName);
		}

		// Token: 0x060008BB RID: 2235 RVA: 0x0003E3FC File Offset: 0x0003C5FC
		private void boolPropertyChangedListenerOf_widget_4(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_4(propertyName);
		}

		// Token: 0x060008BC RID: 2236 RVA: 0x0003E405 File Offset: 0x0003C605
		private void floatPropertyChangedListenerOf_widget_4(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_4(propertyName);
		}

		// Token: 0x060008BD RID: 2237 RVA: 0x0003E40E File Offset: 0x0003C60E
		private void Vec2PropertyChangedListenerOf_widget_4(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_4(propertyName);
		}

		// Token: 0x060008BE RID: 2238 RVA: 0x0003E417 File Offset: 0x0003C617
		private void Vector2PropertyChangedListenerOf_widget_4(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_4(propertyName);
		}

		// Token: 0x060008BF RID: 2239 RVA: 0x0003E420 File Offset: 0x0003C620
		private void doublePropertyChangedListenerOf_widget_4(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_4(propertyName);
		}

		// Token: 0x060008C0 RID: 2240 RVA: 0x0003E429 File Offset: 0x0003C629
		private void intPropertyChangedListenerOf_widget_4(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_4(propertyName);
		}

		// Token: 0x060008C1 RID: 2241 RVA: 0x0003E432 File Offset: 0x0003C632
		private void uintPropertyChangedListenerOf_widget_4(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_4(propertyName);
		}

		// Token: 0x060008C2 RID: 2242 RVA: 0x0003E43B File Offset: 0x0003C63B
		private void ColorPropertyChangedListenerOf_widget_4(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_4(propertyName);
		}

		// Token: 0x060008C3 RID: 2243 RVA: 0x0003E444 File Offset: 0x0003C644
		private void HandleWidgetPropertyChangeOf_widget_4(string propertyName)
		{
			if (propertyName == "ValueFloat")
			{
				this._datasource_Root.AmmoPercentage = this._widget_4.ValueFloat;
				return;
			}
			if (propertyName == "IsVisible")
			{
				this._datasource_Root.IsAmmoAvailable = this._widget_4.IsVisible;
				return;
			}
		}

		// Token: 0x060008C4 RID: 2244 RVA: 0x0003E499 File Offset: 0x0003C699
		private void PropertyChangedListenerOf_widget_8(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8(propertyName);
		}

		// Token: 0x060008C5 RID: 2245 RVA: 0x0003E4A2 File Offset: 0x0003C6A2
		private void boolPropertyChangedListenerOf_widget_8(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8(propertyName);
		}

		// Token: 0x060008C6 RID: 2246 RVA: 0x0003E4AB File Offset: 0x0003C6AB
		private void floatPropertyChangedListenerOf_widget_8(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8(propertyName);
		}

		// Token: 0x060008C7 RID: 2247 RVA: 0x0003E4B4 File Offset: 0x0003C6B4
		private void Vec2PropertyChangedListenerOf_widget_8(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8(propertyName);
		}

		// Token: 0x060008C8 RID: 2248 RVA: 0x0003E4BD File Offset: 0x0003C6BD
		private void Vector2PropertyChangedListenerOf_widget_8(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8(propertyName);
		}

		// Token: 0x060008C9 RID: 2249 RVA: 0x0003E4C6 File Offset: 0x0003C6C6
		private void doublePropertyChangedListenerOf_widget_8(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8(propertyName);
		}

		// Token: 0x060008CA RID: 2250 RVA: 0x0003E4CF File Offset: 0x0003C6CF
		private void intPropertyChangedListenerOf_widget_8(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8(propertyName);
		}

		// Token: 0x060008CB RID: 2251 RVA: 0x0003E4D8 File Offset: 0x0003C6D8
		private void uintPropertyChangedListenerOf_widget_8(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8(propertyName);
		}

		// Token: 0x060008CC RID: 2252 RVA: 0x0003E4E1 File Offset: 0x0003C6E1
		private void ColorPropertyChangedListenerOf_widget_8(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8(propertyName);
		}

		// Token: 0x060008CD RID: 2253 RVA: 0x0003E4EA File Offset: 0x0003C6EA
		private void HandleWidgetPropertyChangeOf_widget_8(string propertyName)
		{
			if (propertyName == "IsVisible")
			{
				this._datasource_Root.IsTargetRelevant = this._widget_8.IsVisible;
				return;
			}
		}

		// Token: 0x060008CE RID: 2254 RVA: 0x0003E510 File Offset: 0x0003C710
		private void PropertyChangedListenerOf_widget_8_0(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0(propertyName);
		}

		// Token: 0x060008CF RID: 2255 RVA: 0x0003E519 File Offset: 0x0003C719
		private void boolPropertyChangedListenerOf_widget_8_0(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0(propertyName);
		}

		// Token: 0x060008D0 RID: 2256 RVA: 0x0003E522 File Offset: 0x0003C722
		private void floatPropertyChangedListenerOf_widget_8_0(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0(propertyName);
		}

		// Token: 0x060008D1 RID: 2257 RVA: 0x0003E52B File Offset: 0x0003C72B
		private void Vec2PropertyChangedListenerOf_widget_8_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0(propertyName);
		}

		// Token: 0x060008D2 RID: 2258 RVA: 0x0003E534 File Offset: 0x0003C734
		private void Vector2PropertyChangedListenerOf_widget_8_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0(propertyName);
		}

		// Token: 0x060008D3 RID: 2259 RVA: 0x0003E53D File Offset: 0x0003C73D
		private void doublePropertyChangedListenerOf_widget_8_0(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0(propertyName);
		}

		// Token: 0x060008D4 RID: 2260 RVA: 0x0003E546 File Offset: 0x0003C746
		private void intPropertyChangedListenerOf_widget_8_0(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0(propertyName);
		}

		// Token: 0x060008D5 RID: 2261 RVA: 0x0003E54F File Offset: 0x0003C74F
		private void uintPropertyChangedListenerOf_widget_8_0(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0(propertyName);
		}

		// Token: 0x060008D6 RID: 2262 RVA: 0x0003E558 File Offset: 0x0003C758
		private void ColorPropertyChangedListenerOf_widget_8_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0(propertyName);
		}

		// Token: 0x060008D7 RID: 2263 RVA: 0x0003E561 File Offset: 0x0003C761
		private void HandleWidgetPropertyChangeOf_widget_8_0(string propertyName)
		{
			if (propertyName == "IsVisible")
			{
				this._datasource_Root.HasTarget = this._widget_8_0.IsVisible;
				return;
			}
		}

		// Token: 0x060008D8 RID: 2264 RVA: 0x0003E587 File Offset: 0x0003C787
		private void PropertyChangedListenerOf_widget_8_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_0(propertyName);
		}

		// Token: 0x060008D9 RID: 2265 RVA: 0x0003E590 File Offset: 0x0003C790
		private void boolPropertyChangedListenerOf_widget_8_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_0(propertyName);
		}

		// Token: 0x060008DA RID: 2266 RVA: 0x0003E599 File Offset: 0x0003C799
		private void floatPropertyChangedListenerOf_widget_8_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_0(propertyName);
		}

		// Token: 0x060008DB RID: 2267 RVA: 0x0003E5A2 File Offset: 0x0003C7A2
		private void Vec2PropertyChangedListenerOf_widget_8_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_0(propertyName);
		}

		// Token: 0x060008DC RID: 2268 RVA: 0x0003E5AB File Offset: 0x0003C7AB
		private void Vector2PropertyChangedListenerOf_widget_8_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_0(propertyName);
		}

		// Token: 0x060008DD RID: 2269 RVA: 0x0003E5B4 File Offset: 0x0003C7B4
		private void doublePropertyChangedListenerOf_widget_8_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_0(propertyName);
		}

		// Token: 0x060008DE RID: 2270 RVA: 0x0003E5BD File Offset: 0x0003C7BD
		private void intPropertyChangedListenerOf_widget_8_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_0(propertyName);
		}

		// Token: 0x060008DF RID: 2271 RVA: 0x0003E5C6 File Offset: 0x0003C7C6
		private void uintPropertyChangedListenerOf_widget_8_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_0(propertyName);
		}

		// Token: 0x060008E0 RID: 2272 RVA: 0x0003E5CF File Offset: 0x0003C7CF
		private void ColorPropertyChangedListenerOf_widget_8_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_0(propertyName);
		}

		// Token: 0x060008E1 RID: 2273 RVA: 0x0003E5D8 File Offset: 0x0003C7D8
		private void HandleWidgetPropertyChangeOf_widget_8_0_0(string propertyName)
		{
			if (propertyName == "OrderIconID")
			{
				this._datasource_Root.CurrentOrderIconId = this._widget_8_0_0.OrderIconID;
				return;
			}
		}

		// Token: 0x060008E2 RID: 2274 RVA: 0x0003E5FE File Offset: 0x0003C7FE
		private void PropertyChangedListenerOf_widget_8_0_1(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_1(propertyName);
		}

		// Token: 0x060008E3 RID: 2275 RVA: 0x0003E607 File Offset: 0x0003C807
		private void boolPropertyChangedListenerOf_widget_8_0_1(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_1(propertyName);
		}

		// Token: 0x060008E4 RID: 2276 RVA: 0x0003E610 File Offset: 0x0003C810
		private void floatPropertyChangedListenerOf_widget_8_0_1(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_1(propertyName);
		}

		// Token: 0x060008E5 RID: 2277 RVA: 0x0003E619 File Offset: 0x0003C819
		private void Vec2PropertyChangedListenerOf_widget_8_0_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_1(propertyName);
		}

		// Token: 0x060008E6 RID: 2278 RVA: 0x0003E622 File Offset: 0x0003C822
		private void Vector2PropertyChangedListenerOf_widget_8_0_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_1(propertyName);
		}

		// Token: 0x060008E7 RID: 2279 RVA: 0x0003E62B File Offset: 0x0003C82B
		private void doublePropertyChangedListenerOf_widget_8_0_1(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_1(propertyName);
		}

		// Token: 0x060008E8 RID: 2280 RVA: 0x0003E634 File Offset: 0x0003C834
		private void intPropertyChangedListenerOf_widget_8_0_1(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_1(propertyName);
		}

		// Token: 0x060008E9 RID: 2281 RVA: 0x0003E63D File Offset: 0x0003C83D
		private void uintPropertyChangedListenerOf_widget_8_0_1(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_1(propertyName);
		}

		// Token: 0x060008EA RID: 2282 RVA: 0x0003E646 File Offset: 0x0003C846
		private void ColorPropertyChangedListenerOf_widget_8_0_1(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_8_0_1(propertyName);
		}

		// Token: 0x060008EB RID: 2283 RVA: 0x0003E64F File Offset: 0x0003C84F
		private void HandleWidgetPropertyChangeOf_widget_8_0_1(string propertyName)
		{
			if (propertyName == "MarkerType")
			{
				this._datasource_Root.CurrentTargetFormationType = this._widget_8_0_1.MarkerType;
				return;
			}
		}

		// Token: 0x060008EC RID: 2284 RVA: 0x0003E675 File Offset: 0x0003C875
		private void PropertyChangedListenerOf_widget_3_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0_0(propertyName);
		}

		// Token: 0x060008ED RID: 2285 RVA: 0x0003E67E File Offset: 0x0003C87E
		private void boolPropertyChangedListenerOf_widget_3_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0_0(propertyName);
		}

		// Token: 0x060008EE RID: 2286 RVA: 0x0003E687 File Offset: 0x0003C887
		private void floatPropertyChangedListenerOf_widget_3_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0_0(propertyName);
		}

		// Token: 0x060008EF RID: 2287 RVA: 0x0003E690 File Offset: 0x0003C890
		private void Vec2PropertyChangedListenerOf_widget_3_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0_0(propertyName);
		}

		// Token: 0x060008F0 RID: 2288 RVA: 0x0003E699 File Offset: 0x0003C899
		private void Vector2PropertyChangedListenerOf_widget_3_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0_0(propertyName);
		}

		// Token: 0x060008F1 RID: 2289 RVA: 0x0003E6A2 File Offset: 0x0003C8A2
		private void doublePropertyChangedListenerOf_widget_3_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0_0(propertyName);
		}

		// Token: 0x060008F2 RID: 2290 RVA: 0x0003E6AB File Offset: 0x0003C8AB
		private void intPropertyChangedListenerOf_widget_3_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0_0(propertyName);
		}

		// Token: 0x060008F3 RID: 2291 RVA: 0x0003E6B4 File Offset: 0x0003C8B4
		private void uintPropertyChangedListenerOf_widget_3_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0_0(propertyName);
		}

		// Token: 0x060008F4 RID: 2292 RVA: 0x0003E6BD File Offset: 0x0003C8BD
		private void ColorPropertyChangedListenerOf_widget_3_0_0(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_3_0_0(propertyName);
		}

		// Token: 0x060008F5 RID: 2293 RVA: 0x0003E6C8 File Offset: 0x0003C8C8
		private void HandleWidgetPropertyChangeOf_widget_3_0_0(string propertyName)
		{
			if (propertyName == "KeyID")
			{
				this._datasource_Root_SelectionKey.KeyID = this._widget_3_0_0.KeyID;
				return;
			}
			if (propertyName == "IsVisible")
			{
				this._datasource_Root_SelectionKey.IsVisible = this._widget_3_0_0.IsVisible;
				return;
			}
		}

		// Token: 0x060008F6 RID: 2294 RVA: 0x0003E71D File Offset: 0x0003C91D
		private void PropertyChangedListenerOf_widget_6(PropertyOwnerObject propertyOwnerObject, string propertyName, object e)
		{
			this.HandleWidgetPropertyChangeOf_widget_6(propertyName);
		}

		// Token: 0x060008F7 RID: 2295 RVA: 0x0003E726 File Offset: 0x0003C926
		private void boolPropertyChangedListenerOf_widget_6(PropertyOwnerObject propertyOwnerObject, string propertyName, bool e)
		{
			this.HandleWidgetPropertyChangeOf_widget_6(propertyName);
		}

		// Token: 0x060008F8 RID: 2296 RVA: 0x0003E72F File Offset: 0x0003C92F
		private void floatPropertyChangedListenerOf_widget_6(PropertyOwnerObject propertyOwnerObject, string propertyName, float e)
		{
			this.HandleWidgetPropertyChangeOf_widget_6(propertyName);
		}

		// Token: 0x060008F9 RID: 2297 RVA: 0x0003E738 File Offset: 0x0003C938
		private void Vec2PropertyChangedListenerOf_widget_6(PropertyOwnerObject propertyOwnerObject, string propertyName, Vec2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_6(propertyName);
		}

		// Token: 0x060008FA RID: 2298 RVA: 0x0003E741 File Offset: 0x0003C941
		private void Vector2PropertyChangedListenerOf_widget_6(PropertyOwnerObject propertyOwnerObject, string propertyName, Vector2 e)
		{
			this.HandleWidgetPropertyChangeOf_widget_6(propertyName);
		}

		// Token: 0x060008FB RID: 2299 RVA: 0x0003E74A File Offset: 0x0003C94A
		private void doublePropertyChangedListenerOf_widget_6(PropertyOwnerObject propertyOwnerObject, string propertyName, double e)
		{
			this.HandleWidgetPropertyChangeOf_widget_6(propertyName);
		}

		// Token: 0x060008FC RID: 2300 RVA: 0x0003E753 File Offset: 0x0003C953
		private void intPropertyChangedListenerOf_widget_6(PropertyOwnerObject propertyOwnerObject, string propertyName, int e)
		{
			this.HandleWidgetPropertyChangeOf_widget_6(propertyName);
		}

		// Token: 0x060008FD RID: 2301 RVA: 0x0003E75C File Offset: 0x0003C95C
		private void uintPropertyChangedListenerOf_widget_6(PropertyOwnerObject propertyOwnerObject, string propertyName, uint e)
		{
			this.HandleWidgetPropertyChangeOf_widget_6(propertyName);
		}

		// Token: 0x060008FE RID: 2302 RVA: 0x0003E765 File Offset: 0x0003C965
		private void ColorPropertyChangedListenerOf_widget_6(PropertyOwnerObject propertyOwnerObject, string propertyName, Color e)
		{
			this.HandleWidgetPropertyChangeOf_widget_6(propertyName);
		}

		// Token: 0x060008FF RID: 2303 RVA: 0x0003E76E File Offset: 0x0003C96E
		private void HandleWidgetPropertyChangeOf_widget_6(string propertyName)
		{
			if (propertyName == "AdditionalArgs")
			{
				return;
			}
			if (propertyName == "ImageId")
			{
				return;
			}
			propertyName == "ImageTypeCode";
		}

		// Token: 0x06000900 RID: 2304 RVA: 0x0003E798 File Offset: 0x0003C998
		private void ViewModelPropertyChangedListenerOf_datasource_Root(object sender, PropertyChangedEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000901 RID: 2305 RVA: 0x0003E7A6 File Offset: 0x0003C9A6
		private void ViewModelPropertyChangedWithValueListenerOf_datasource_Root(object sender, PropertyChangedWithValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000902 RID: 2306 RVA: 0x0003E7B4 File Offset: 0x0003C9B4
		private void ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root(object sender, PropertyChangedWithBoolValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000903 RID: 2307 RVA: 0x0003E7C2 File Offset: 0x0003C9C2
		private void ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root(object sender, PropertyChangedWithIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000904 RID: 2308 RVA: 0x0003E7D0 File Offset: 0x0003C9D0
		private void ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root(object sender, PropertyChangedWithFloatValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000905 RID: 2309 RVA: 0x0003E7DE File Offset: 0x0003C9DE
		private void ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root(object sender, PropertyChangedWithUIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000906 RID: 2310 RVA: 0x0003E7EC File Offset: 0x0003C9EC
		private void ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root(object sender, PropertyChangedWithColorValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000907 RID: 2311 RVA: 0x0003E7FA File Offset: 0x0003C9FA
		private void ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root(object sender, PropertyChangedWithDoubleValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000908 RID: 2312 RVA: 0x0003E808 File Offset: 0x0003CA08
		private void ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root(object sender, PropertyChangedWithVec2ValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000909 RID: 2313 RVA: 0x0003E818 File Offset: 0x0003CA18
		private void HandleViewModelPropertyChangeOf_datasource_Root(string propertyName)
		{
			if (propertyName == "ActiveFormationClasses")
			{
				this.RefreshDataSource_datasource_Root_ActiveFormationClasses(this._datasource_Root.ActiveFormationClasses);
				return;
			}
			if (propertyName == "SelectionKey")
			{
				this.RefreshDataSource_datasource_Root_SelectionKey(this._datasource_Root.SelectionKey);
				return;
			}
			if (propertyName == "CommanderImageIdentifier")
			{
				this.RefreshDataSource_datasource_Root_CommanderImageIdentifier(this._datasource_Root.CommanderImageIdentifier);
				return;
			}
			if (propertyName == "ActiveFilters")
			{
				this.RefreshDataSource_datasource_Root_ActiveFilters(this._datasource_Root.ActiveFilters);
				return;
			}
			if (propertyName == "IsAmmoAvailable")
			{
				this._widget.HasAmmo = this._datasource_Root.IsAmmoAvailable;
				this._widget_4.IsVisible = this._datasource_Root.IsAmmoAvailable;
				return;
			}
			if (propertyName == "CurrentMemberCount")
			{
				this._widget.CurrentMemberCount = this._datasource_Root.CurrentMemberCount;
				return;
			}
			if (propertyName == "IsSelectable")
			{
				this._widget.IsSelectable = this._datasource_Root.IsSelectable;
				return;
			}
			if (propertyName == "IsSelected")
			{
				this._widget.IsSelected = this._datasource_Root.IsSelected;
				return;
			}
			if (propertyName == "OrderOfBattleFormationClass")
			{
				return;
			}
			if (propertyName == "IsSelectionActive")
			{
				this._widget.IsSelectionActive = this._datasource_Root.IsSelectionActive;
				return;
			}
			if (propertyName == "Morale")
			{
				this._widget_1.CurrentAmount = this._datasource_Root.Morale;
				this._widget_1.InitialAmount = this._datasource_Root.Morale;
				this._widget_2_1.IntText = this._datasource_Root.Morale;
				return;
			}
			if (propertyName == "HaveTroops")
			{
				this._widget_2_1.IsVisible = this._datasource_Root.HaveTroops;
				this._widget_3_0.IsVisible = this._datasource_Root.HaveTroops;
				return;
			}
			if (propertyName == "CanUseShortcuts")
			{
				return;
			}
			if (propertyName == "AmmoPercentage")
			{
				this._widget_4.ValueFloat = this._datasource_Root.AmmoPercentage;
				return;
			}
			if (propertyName == "IsTargetRelevant")
			{
				this._widget_8.IsVisible = this._datasource_Root.IsTargetRelevant;
				return;
			}
			if (propertyName == "HasTarget")
			{
				this._widget_8_0.IsVisible = this._datasource_Root.HasTarget;
				return;
			}
			if (propertyName == "CurrentOrderIconId")
			{
				this._widget_8_0_0.OrderIconID = this._datasource_Root.CurrentOrderIconId;
				return;
			}
			if (propertyName == "CurrentTargetFormationType")
			{
				this._widget_8_0_1.MarkerType = this._datasource_Root.CurrentTargetFormationType;
				return;
			}
		}

		// Token: 0x0600090A RID: 2314 RVA: 0x0003EAC5 File Offset: 0x0003CCC5
		private void ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x0600090B RID: 2315 RVA: 0x0003EAD3 File Offset: 0x0003CCD3
		private void ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x0600090C RID: 2316 RVA: 0x0003EAE1 File Offset: 0x0003CCE1
		private void ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithBoolValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x0600090D RID: 2317 RVA: 0x0003EAEF File Offset: 0x0003CCEF
		private void ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x0600090E RID: 2318 RVA: 0x0003EAFD File Offset: 0x0003CCFD
		private void ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithFloatValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x0600090F RID: 2319 RVA: 0x0003EB0B File Offset: 0x0003CD0B
		private void ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithUIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000910 RID: 2320 RVA: 0x0003EB19 File Offset: 0x0003CD19
		private void ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithColorValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000911 RID: 2321 RVA: 0x0003EB27 File Offset: 0x0003CD27
		private void ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithDoubleValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000912 RID: 2322 RVA: 0x0003EB35 File Offset: 0x0003CD35
		private void ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey(object sender, PropertyChangedWithVec2ValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(e.PropertyName);
		}

		// Token: 0x06000913 RID: 2323 RVA: 0x0003EB44 File Offset: 0x0003CD44
		private void HandleViewModelPropertyChangeOf_datasource_Root_SelectionKey(string propertyName)
		{
			if (propertyName == "KeyID")
			{
				this._widget_3_0_0.KeyID = this._datasource_Root_SelectionKey.KeyID;
				return;
			}
			if (propertyName == "IsVisible")
			{
				this._widget_3_0_0.IsVisible = this._datasource_Root_SelectionKey.IsVisible;
				return;
			}
		}

		// Token: 0x06000914 RID: 2324 RVA: 0x0003EB99 File Offset: 0x0003CD99
		private void ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000915 RID: 2325 RVA: 0x0003EBA7 File Offset: 0x0003CDA7
		private void ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000916 RID: 2326 RVA: 0x0003EBB5 File Offset: 0x0003CDB5
		private void ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithBoolValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000917 RID: 2327 RVA: 0x0003EBC3 File Offset: 0x0003CDC3
		private void ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000918 RID: 2328 RVA: 0x0003EBD1 File Offset: 0x0003CDD1
		private void ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithFloatValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x06000919 RID: 2329 RVA: 0x0003EBDF File Offset: 0x0003CDDF
		private void ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithUIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x0600091A RID: 2330 RVA: 0x0003EBED File Offset: 0x0003CDED
		private void ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithColorValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x0600091B RID: 2331 RVA: 0x0003EBFB File Offset: 0x0003CDFB
		private void ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithDoubleValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x0600091C RID: 2332 RVA: 0x0003EC09 File Offset: 0x0003CE09
		private void ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier(object sender, PropertyChangedWithVec2ValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(e.PropertyName);
		}

		// Token: 0x0600091D RID: 2333 RVA: 0x0003EC18 File Offset: 0x0003CE18
		private void HandleViewModelPropertyChangeOf_datasource_Root_CommanderImageIdentifier(string propertyName)
		{
			if (propertyName == "AdditionalArgs")
			{
				this._widget_6.AdditionalArgs = this._datasource_Root_CommanderImageIdentifier.AdditionalArgs;
				return;
			}
			if (propertyName == "Id")
			{
				this._widget_6.ImageId = this._datasource_Root_CommanderImageIdentifier.Id;
				return;
			}
			if (propertyName == "ImageTypeCode")
			{
				this._widget_6.ImageTypeCode = this._datasource_Root_CommanderImageIdentifier.ImageTypeCode;
				return;
			}
		}

		// Token: 0x0600091E RID: 2334 RVA: 0x0003EC94 File Offset: 0x0003CE94
		public void OnList_datasource_Root_ActiveFormationClassesChanged(object sender, ListChangedEventArgs e)
		{
			switch (e.ListChangedType)
			{
			case 0:
				for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_0.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_0.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate)child2).SetDataSource(null);
					this._widget_0.RemoveChild(child2);
				}
				return;
			case 1:
				for (int j = 0; j < this._datasource_Root_ActiveFormationClasses.Count; j++)
				{
					OrderTroopItemFormationClassVM bindingObject = this._datasource_Root_ActiveFormationClasses[j];
					this._widget_0.FindChild((Widget widget) => widget.GetComponent<GeneratedWidgetData>().Data == bindingObject).SetSiblingIndex(j, false);
				}
				return;
			case 2:
			{
				OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate(base.Context);
				GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate);
				OrderTroopItemFormationClassVM orderTroopItemFormationClassVM = this._datasource_Root_ActiveFormationClasses[e.NewIndex];
				generatedWidgetData.Data = orderTroopItemFormationClassVM;
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.AddComponent(generatedWidgetData);
				this._widget_0.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate, e.NewIndex);
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.CreateWidgets();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.SetIds();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.SetAttributes();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.SetDataSource(orderTroopItemFormationClassVM);
				return;
			}
			case 3:
			{
				Widget child3 = this._widget_0.GetChild(e.NewIndex);
				((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate)child3).OnBeforeRemovedChild(child3);
				return;
			}
			case 4:
			{
				Widget child4 = this._widget_0.GetChild(e.NewIndex);
				((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate)child4).SetDataSource(null);
				this._widget_0.RemoveChild(child4);
				break;
			}
			case 5:
				break;
			default:
				return;
			}
		}

		// Token: 0x0600091F RID: 2335 RVA: 0x0003EE30 File Offset: 0x0003D030
		public void OnList_datasource_Root_ActiveFiltersChanged(object sender, ListChangedEventArgs e)
		{
			switch (e.ListChangedType)
			{
			case 0:
				for (int i = this._widget_7.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_7.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_7.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate)child2).SetDataSource(null);
					this._widget_7.RemoveChild(child2);
				}
				return;
			case 1:
				for (int j = 0; j < this._datasource_Root_ActiveFilters.Count; j++)
				{
					OrderTroopItemFilterVM bindingObject = this._datasource_Root_ActiveFilters[j];
					this._widget_7.FindChild((Widget widget) => widget.GetComponent<GeneratedWidgetData>().Data == bindingObject).SetSiblingIndex(j, false);
				}
				return;
			case 2:
			{
				OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate(base.Context);
				GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate);
				OrderTroopItemFilterVM orderTroopItemFilterVM = this._datasource_Root_ActiveFilters[e.NewIndex];
				generatedWidgetData.Data = orderTroopItemFilterVM;
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.AddComponent(generatedWidgetData);
				this._widget_7.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate, e.NewIndex);
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.CreateWidgets();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.SetIds();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.SetAttributes();
				orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.SetDataSource(orderTroopItemFilterVM);
				return;
			}
			case 3:
			{
				Widget child3 = this._widget_7.GetChild(e.NewIndex);
				((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate)child3).OnBeforeRemovedChild(child3);
				return;
			}
			case 4:
			{
				Widget child4 = this._widget_7.GetChild(e.NewIndex);
				((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate)child4).SetDataSource(null);
				this._widget_7.RemoveChild(child4);
				break;
			}
			case 5:
				break;
			default:
				return;
			}
		}

		// Token: 0x06000920 RID: 2336 RVA: 0x0003EFCC File Offset: 0x0003D1CC
		private void RefreshDataSource_datasource_Root(OrderTroopItemVM newDataSource)
		{
			if (this._datasource_Root != null)
			{
				this._datasource_Root.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root;
				this._datasource_Root.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root);
				this._widget.PropertyChanged -= this.PropertyChangedListenerOf_widget;
				this._widget.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget;
				this._widget.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget;
				this._widget.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget;
				this._widget.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget;
				this._widget.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget;
				this._widget.intPropertyChanged -= this.intPropertyChangedListenerOf_widget;
				this._widget.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget;
				this._widget.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget;
				this._widget_1.PropertyChanged -= this.PropertyChangedListenerOf_widget_1;
				this._widget_1.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_1;
				this._widget_1.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_1;
				this._widget_1.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_1;
				this._widget_1.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_1;
				this._widget_1.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_1;
				this._widget_1.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_1;
				this._widget_1.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_1;
				this._widget_1.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_1;
				this._widget_2_1.PropertyChanged -= this.PropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_2_1;
				this._widget_3.PropertyChanged -= this.PropertyChangedListenerOf_widget_3;
				this._widget_3.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_3;
				this._widget_3.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_3;
				this._widget_3.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_3;
				this._widget_3.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_3;
				this._widget_3.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_3;
				this._widget_3.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_3;
				this._widget_3.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_3;
				this._widget_3.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_3;
				this._widget_3_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_3_0;
				this._widget_4.PropertyChanged -= this.PropertyChangedListenerOf_widget_4;
				this._widget_4.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_4;
				this._widget_4.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_4;
				this._widget_4.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_4;
				this._widget_4.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_4;
				this._widget_4.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_4;
				this._widget_4.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_4;
				this._widget_4.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_4;
				this._widget_4.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_4;
				this._widget_8.PropertyChanged -= this.PropertyChangedListenerOf_widget_8;
				this._widget_8.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_8;
				this._widget_8.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_8;
				this._widget_8.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_8;
				this._widget_8.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_8;
				this._widget_8.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_8;
				this._widget_8.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_8;
				this._widget_8.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_8;
				this._widget_8.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_8;
				this._widget_8_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_1.PropertyChanged -= this.PropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_8_0_1;
				if (this._datasource_Root_ActiveFormationClasses != null)
				{
					this._datasource_Root_ActiveFormationClasses.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFormationClassesChanged);
					for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
					{
						Widget child = this._widget_0.GetChild(i);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate)child).OnBeforeRemovedChild(child);
						Widget child2 = this._widget_0.GetChild(i);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate)child2).SetDataSource(null);
						this._widget_0.RemoveChild(child2);
					}
					this._datasource_Root_ActiveFormationClasses = null;
				}
				if (this._datasource_Root_SelectionKey != null)
				{
					this._datasource_Root_SelectionKey.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey;
					this._datasource_Root_SelectionKey.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey);
					this._widget_3_0_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_3_0_0;
					this._datasource_Root_SelectionKey = null;
				}
				if (this._datasource_Root_CommanderImageIdentifier != null)
				{
					this._datasource_Root_CommanderImageIdentifier.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier;
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._widget_6.PropertyChanged -= this.PropertyChangedListenerOf_widget_6;
					this._widget_6.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_6;
					this._widget_6.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_6;
					this._widget_6.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_6;
					this._widget_6.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_6;
					this._widget_6.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_6;
					this._widget_6.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_6;
					this._widget_6.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_6;
					this._widget_6.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_6;
					this._datasource_Root_CommanderImageIdentifier = null;
				}
				if (this._datasource_Root_ActiveFilters != null)
				{
					this._datasource_Root_ActiveFilters.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFiltersChanged);
					for (int j = this._widget_7.ChildCount - 1; j >= 0; j--)
					{
						Widget child3 = this._widget_7.GetChild(j);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate)child3).OnBeforeRemovedChild(child3);
						Widget child4 = this._widget_7.GetChild(j);
						((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate)child4).SetDataSource(null);
						this._widget_7.RemoveChild(child4);
					}
					this._datasource_Root_ActiveFilters = null;
				}
				this._datasource_Root = null;
			}
			this._datasource_Root = newDataSource;
			if (this._datasource_Root != null)
			{
				this._datasource_Root.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root;
				this._datasource_Root.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root);
				this._widget.HasAmmo = this._datasource_Root.IsAmmoAvailable;
				this._widget.CurrentMemberCount = this._datasource_Root.CurrentMemberCount;
				this._widget.IsSelectable = this._datasource_Root.IsSelectable;
				this._widget.IsSelected = this._datasource_Root.IsSelected;
				this._widget.IsSelectionActive = this._datasource_Root.IsSelectionActive;
				this._widget.PropertyChanged += this.PropertyChangedListenerOf_widget;
				this._widget.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget;
				this._widget.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget;
				this._widget.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget;
				this._widget.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget;
				this._widget.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget;
				this._widget.intPropertyChanged += this.intPropertyChangedListenerOf_widget;
				this._widget.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget;
				this._widget.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget;
				this._widget_1.CurrentAmount = this._datasource_Root.Morale;
				this._widget_1.InitialAmount = this._datasource_Root.Morale;
				this._widget_1.PropertyChanged += this.PropertyChangedListenerOf_widget_1;
				this._widget_1.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_1;
				this._widget_1.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_1;
				this._widget_1.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_1;
				this._widget_1.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_1;
				this._widget_1.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_1;
				this._widget_1.intPropertyChanged += this.intPropertyChangedListenerOf_widget_1;
				this._widget_1.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_1;
				this._widget_1.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_1;
				this._widget_2_1.IntText = this._datasource_Root.Morale;
				this._widget_2_1.IsVisible = this._datasource_Root.HaveTroops;
				this._widget_2_1.PropertyChanged += this.PropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.intPropertyChanged += this.intPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_2_1;
				this._widget_2_1.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_2_1;
				this._widget_3.PropertyChanged += this.PropertyChangedListenerOf_widget_3;
				this._widget_3.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_3;
				this._widget_3.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_3;
				this._widget_3.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_3;
				this._widget_3.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_3;
				this._widget_3.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_3;
				this._widget_3.intPropertyChanged += this.intPropertyChangedListenerOf_widget_3;
				this._widget_3.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_3;
				this._widget_3.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_3;
				this._widget_3_0.IsVisible = this._datasource_Root.HaveTroops;
				this._widget_3_0.PropertyChanged += this.PropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.intPropertyChanged += this.intPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_3_0;
				this._widget_3_0.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_3_0;
				this._widget_4.ValueFloat = this._datasource_Root.AmmoPercentage;
				this._widget_4.IsVisible = this._datasource_Root.IsAmmoAvailable;
				this._widget_4.PropertyChanged += this.PropertyChangedListenerOf_widget_4;
				this._widget_4.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_4;
				this._widget_4.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_4;
				this._widget_4.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_4;
				this._widget_4.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_4;
				this._widget_4.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_4;
				this._widget_4.intPropertyChanged += this.intPropertyChangedListenerOf_widget_4;
				this._widget_4.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_4;
				this._widget_4.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_4;
				this._widget_8.IsVisible = this._datasource_Root.IsTargetRelevant;
				this._widget_8.PropertyChanged += this.PropertyChangedListenerOf_widget_8;
				this._widget_8.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_8;
				this._widget_8.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_8;
				this._widget_8.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_8;
				this._widget_8.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_8;
				this._widget_8.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_8;
				this._widget_8.intPropertyChanged += this.intPropertyChangedListenerOf_widget_8;
				this._widget_8.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_8;
				this._widget_8.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_8;
				this._widget_8_0.IsVisible = this._datasource_Root.HasTarget;
				this._widget_8_0.PropertyChanged += this.PropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.intPropertyChanged += this.intPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_8_0;
				this._widget_8_0_0.OrderIconID = this._datasource_Root.CurrentOrderIconId;
				this._widget_8_0_0.PropertyChanged += this.PropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.intPropertyChanged += this.intPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_0.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_8_0_0;
				this._widget_8_0_1.MarkerType = this._datasource_Root.CurrentTargetFormationType;
				this._widget_8_0_1.PropertyChanged += this.PropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.intPropertyChanged += this.intPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_8_0_1;
				this._widget_8_0_1.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_8_0_1;
				this._datasource_Root_ActiveFormationClasses = this._datasource_Root.ActiveFormationClasses;
				if (this._datasource_Root_ActiveFormationClasses != null)
				{
					this._datasource_Root_ActiveFormationClasses.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFormationClassesChanged);
					for (int k = 0; k < this._datasource_Root_ActiveFormationClasses.Count; k++)
					{
						OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate(base.Context);
						GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate);
						OrderTroopItemFormationClassVM orderTroopItemFormationClassVM = this._datasource_Root_ActiveFormationClasses[k];
						generatedWidgetData.Data = orderTroopItemFormationClassVM;
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.AddComponent(generatedWidgetData);
						this._widget_0.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate, k);
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.CreateWidgets();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.SetIds();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.SetAttributes();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.SetDataSource(orderTroopItemFormationClassVM);
					}
				}
				this._datasource_Root_SelectionKey = this._datasource_Root.SelectionKey;
				if (this._datasource_Root_SelectionKey != null)
				{
					this._datasource_Root_SelectionKey.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey;
					this._datasource_Root_SelectionKey.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey);
					this._datasource_Root_SelectionKey.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey);
					this._widget_3_0_0.KeyID = this._datasource_Root_SelectionKey.KeyID;
					this._widget_3_0_0.IsVisible = this._datasource_Root_SelectionKey.IsVisible;
					this._widget_3_0_0.PropertyChanged += this.PropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.intPropertyChanged += this.intPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_3_0_0;
					this._widget_3_0_0.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_3_0_0;
				}
				this._datasource_Root_CommanderImageIdentifier = this._datasource_Root.CommanderImageIdentifier;
				if (this._datasource_Root_CommanderImageIdentifier != null)
				{
					this._datasource_Root_CommanderImageIdentifier.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier;
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier);
					this._widget_6.AdditionalArgs = this._datasource_Root_CommanderImageIdentifier.AdditionalArgs;
					this._widget_6.ImageId = this._datasource_Root_CommanderImageIdentifier.Id;
					this._widget_6.ImageTypeCode = this._datasource_Root_CommanderImageIdentifier.ImageTypeCode;
					this._widget_6.PropertyChanged += this.PropertyChangedListenerOf_widget_6;
					this._widget_6.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_6;
					this._widget_6.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_6;
					this._widget_6.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_6;
					this._widget_6.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_6;
					this._widget_6.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_6;
					this._widget_6.intPropertyChanged += this.intPropertyChangedListenerOf_widget_6;
					this._widget_6.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_6;
					this._widget_6.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_6;
				}
				this._datasource_Root_ActiveFilters = this._datasource_Root.ActiveFilters;
				if (this._datasource_Root_ActiveFilters != null)
				{
					this._datasource_Root_ActiveFilters.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFiltersChanged);
					for (int l = 0; l < this._datasource_Root_ActiveFilters.Count; l++)
					{
						OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate(base.Context);
						GeneratedWidgetData generatedWidgetData2 = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate);
						OrderTroopItemFilterVM orderTroopItemFilterVM = this._datasource_Root_ActiveFilters[l];
						generatedWidgetData2.Data = orderTroopItemFilterVM;
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.AddComponent(generatedWidgetData2);
						this._widget_7.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate, l);
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.CreateWidgets();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.SetIds();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.SetAttributes();
						orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.SetDataSource(orderTroopItemFilterVM);
					}
				}
			}
		}

		// Token: 0x06000921 RID: 2337 RVA: 0x00040CCC File Offset: 0x0003EECC
		private void RefreshDataSource_datasource_Root_ActiveFormationClasses(MBBindingList<OrderTroopItemFormationClassVM> newDataSource)
		{
			if (this._datasource_Root_ActiveFormationClasses != null)
			{
				this._datasource_Root_ActiveFormationClasses.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFormationClassesChanged);
				for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_0.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_0.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate)child2).SetDataSource(null);
					this._widget_0.RemoveChild(child2);
				}
				this._datasource_Root_ActiveFormationClasses = null;
			}
			this._datasource_Root_ActiveFormationClasses = newDataSource;
			this._datasource_Root_ActiveFormationClasses = this._datasource_Root.ActiveFormationClasses;
			if (this._datasource_Root_ActiveFormationClasses != null)
			{
				this._datasource_Root_ActiveFormationClasses.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFormationClassesChanged);
				for (int j = 0; j < this._datasource_Root_ActiveFormationClasses.Count; j++)
				{
					OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate(base.Context);
					GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate);
					OrderTroopItemFormationClassVM orderTroopItemFormationClassVM = this._datasource_Root_ActiveFormationClasses[j];
					generatedWidgetData.Data = orderTroopItemFormationClassVM;
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.AddComponent(generatedWidgetData);
					this._widget_0.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate, j);
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.CreateWidgets();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.SetIds();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.SetAttributes();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_11_ItemTemplate.SetDataSource(orderTroopItemFormationClassVM);
				}
			}
		}

		// Token: 0x06000922 RID: 2338 RVA: 0x00040E08 File Offset: 0x0003F008
		private void RefreshDataSource_datasource_Root_SelectionKey(InputKeyItemVM newDataSource)
		{
			if (this._datasource_Root_SelectionKey != null)
			{
				this._datasource_Root_SelectionKey.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey;
				this._datasource_Root_SelectionKey.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey);
				this._widget_3_0_0.PropertyChanged -= this.PropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_3_0_0;
				this._datasource_Root_SelectionKey = null;
			}
			this._datasource_Root_SelectionKey = newDataSource;
			this._datasource_Root_SelectionKey = this._datasource_Root.SelectionKey;
			if (this._datasource_Root_SelectionKey != null)
			{
				this._datasource_Root_SelectionKey.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_SelectionKey;
				this._datasource_Root_SelectionKey.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_SelectionKey);
				this._datasource_Root_SelectionKey.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_SelectionKey);
				this._widget_3_0_0.KeyID = this._datasource_Root_SelectionKey.KeyID;
				this._widget_3_0_0.IsVisible = this._datasource_Root_SelectionKey.IsVisible;
				this._widget_3_0_0.PropertyChanged += this.PropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.intPropertyChanged += this.intPropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_3_0_0;
				this._widget_3_0_0.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_3_0_0;
			}
		}

		// Token: 0x06000923 RID: 2339 RVA: 0x000411B4 File Offset: 0x0003F3B4
		private void RefreshDataSource_datasource_Root_CommanderImageIdentifier(ImageIdentifierVM newDataSource)
		{
			if (this._datasource_Root_CommanderImageIdentifier != null)
			{
				this._datasource_Root_CommanderImageIdentifier.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier;
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._widget_6.PropertyChanged -= this.PropertyChangedListenerOf_widget_6;
				this._widget_6.boolPropertyChanged -= this.boolPropertyChangedListenerOf_widget_6;
				this._widget_6.floatPropertyChanged -= this.floatPropertyChangedListenerOf_widget_6;
				this._widget_6.Vec2PropertyChanged -= this.Vec2PropertyChangedListenerOf_widget_6;
				this._widget_6.Vector2PropertyChanged -= this.Vector2PropertyChangedListenerOf_widget_6;
				this._widget_6.doublePropertyChanged -= this.doublePropertyChangedListenerOf_widget_6;
				this._widget_6.intPropertyChanged -= this.intPropertyChangedListenerOf_widget_6;
				this._widget_6.uintPropertyChanged -= this.uintPropertyChangedListenerOf_widget_6;
				this._widget_6.ColorPropertyChanged -= this.ColorPropertyChangedListenerOf_widget_6;
				this._datasource_Root_CommanderImageIdentifier = null;
			}
			this._datasource_Root_CommanderImageIdentifier = newDataSource;
			this._datasource_Root_CommanderImageIdentifier = this._datasource_Root.CommanderImageIdentifier;
			if (this._datasource_Root_CommanderImageIdentifier != null)
			{
				this._datasource_Root_CommanderImageIdentifier.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_CommanderImageIdentifier;
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._datasource_Root_CommanderImageIdentifier.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_CommanderImageIdentifier);
				this._widget_6.AdditionalArgs = this._datasource_Root_CommanderImageIdentifier.AdditionalArgs;
				this._widget_6.ImageId = this._datasource_Root_CommanderImageIdentifier.Id;
				this._widget_6.ImageTypeCode = this._datasource_Root_CommanderImageIdentifier.ImageTypeCode;
				this._widget_6.PropertyChanged += this.PropertyChangedListenerOf_widget_6;
				this._widget_6.boolPropertyChanged += this.boolPropertyChangedListenerOf_widget_6;
				this._widget_6.floatPropertyChanged += this.floatPropertyChangedListenerOf_widget_6;
				this._widget_6.Vec2PropertyChanged += this.Vec2PropertyChangedListenerOf_widget_6;
				this._widget_6.Vector2PropertyChanged += this.Vector2PropertyChangedListenerOf_widget_6;
				this._widget_6.doublePropertyChanged += this.doublePropertyChangedListenerOf_widget_6;
				this._widget_6.intPropertyChanged += this.intPropertyChangedListenerOf_widget_6;
				this._widget_6.uintPropertyChanged += this.uintPropertyChangedListenerOf_widget_6;
				this._widget_6.ColorPropertyChanged += this.ColorPropertyChangedListenerOf_widget_6;
			}
		}

		// Token: 0x06000924 RID: 2340 RVA: 0x00041574 File Offset: 0x0003F774
		private void RefreshDataSource_datasource_Root_ActiveFilters(MBBindingList<OrderTroopItemFilterVM> newDataSource)
		{
			if (this._datasource_Root_ActiveFilters != null)
			{
				this._datasource_Root_ActiveFilters.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFiltersChanged);
				for (int i = this._widget_7.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_7.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_7.GetChild(i);
					((OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate)child2).SetDataSource(null);
					this._widget_7.RemoveChild(child2);
				}
				this._datasource_Root_ActiveFilters = null;
			}
			this._datasource_Root_ActiveFilters = newDataSource;
			this._datasource_Root_ActiveFilters = this._datasource_Root.ActiveFilters;
			if (this._datasource_Root_ActiveFilters != null)
			{
				this._datasource_Root_ActiveFilters.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_ActiveFiltersChanged);
				for (int j = 0; j < this._datasource_Root_ActiveFilters.Count; j++)
				{
					OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate = new OrderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate(base.Context);
					GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate);
					OrderTroopItemFilterVM orderTroopItemFilterVM = this._datasource_Root_ActiveFilters[j];
					generatedWidgetData.Data = orderTroopItemFilterVM;
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.AddComponent(generatedWidgetData);
					this._widget_7.AddChildAtIndex(orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate, j);
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.CreateWidgets();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.SetIds();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.SetAttributes();
					orderRadial__TaleWorlds_MountAndBlade_ViewModelCollection_Order_MissionOrderVM_Dependency_12_ItemTemplate.SetDataSource(orderTroopItemFilterVM);
				}
			}
		}

		// Token: 0x0400015E RID: 350
		private OrderTroopItemBrushWidget _widget;

		// Token: 0x0400015F RID: 351
		private GridWidget _widget_0;

		// Token: 0x04000160 RID: 352
		private FillBar _widget_1;

		// Token: 0x04000161 RID: 353
		private ListPanel _widget_2;

		// Token: 0x04000162 RID: 354
		private Widget _widget_2_0;

		// Token: 0x04000163 RID: 355
		private TextWidget _widget_2_1;

		// Token: 0x04000164 RID: 356
		private Widget _widget_3;

		// Token: 0x04000165 RID: 357
		private Widget _widget_3_0;

		// Token: 0x04000166 RID: 358
		private InputKeyVisualWidget _widget_3_0_0;

		// Token: 0x04000167 RID: 359
		private SliderWidget _widget_4;

		// Token: 0x04000168 RID: 360
		private Widget _widget_4_0;

		// Token: 0x04000169 RID: 361
		private Widget _widget_4_1;

		// Token: 0x0400016A RID: 362
		private Widget _widget_5;

		// Token: 0x0400016B RID: 363
		private ImageIdentifierWidget _widget_6;

		// Token: 0x0400016C RID: 364
		private GridWidget _widget_7;

		// Token: 0x0400016D RID: 365
		private Widget _widget_8;

		// Token: 0x0400016E RID: 366
		private ListPanel _widget_8_0;

		// Token: 0x0400016F RID: 367
		private OrderItemButtonWidget _widget_8_0_0;

		// Token: 0x04000170 RID: 368
		private Widget _widget_8_0_0_0;

		// Token: 0x04000171 RID: 369
		private FormationMarkerParentWidget _widget_8_0_1;

		// Token: 0x04000172 RID: 370
		private BrushWidget _widget_8_0_1_0;

		// Token: 0x04000173 RID: 371
		private Widget _widget_8_0_1_0_0;

		// Token: 0x04000174 RID: 372
		private OrderTroopItemVM _datasource_Root;

		// Token: 0x04000175 RID: 373
		private MBBindingList<OrderTroopItemFormationClassVM> _datasource_Root_ActiveFormationClasses;

		// Token: 0x04000176 RID: 374
		private InputKeyItemVM _datasource_Root_SelectionKey;

		// Token: 0x04000177 RID: 375
		private ImageIdentifierVM _datasource_Root_CommanderImageIdentifier;

		// Token: 0x04000178 RID: 376
		private MBBindingList<OrderTroopItemFilterVM> _datasource_Root_ActiveFilters;
	}
}
